Skip to content

[Master]-Bug 641503 Financial Reporting - Duplicate Rows in Financial Report Excel Export After Adding GL Budget Dimension#9129

Draft
v-praghav wants to merge 3 commits into
mainfrom
bugs/Bug-637755-Financial-Reporting-Duplicate-Rows-in-Financial-master2
Draft

[Master]-Bug 641503 Financial Reporting - Duplicate Rows in Financial Report Excel Export After Adding GL Budget Dimension#9129
v-praghav wants to merge 3 commits into
mainfrom
bugs/Bug-637755-Financial-Reporting-Duplicate-Rows-in-Financial-master2

Conversation

@v-praghav

@v-praghav v-praghav commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

AB#641503

What & why

Linked work

AB#641503

Fixes #

How I validated this

  • I read the full diff and it contains only changes I intended.
  • I built the affected app(s) locally with no new analyzer warnings.
  • I ran the change in Business Central and confirmed it behaves as expected.
  • I added or updated tests for the new behavior, or explained below why none are needed.

What I tested and the outcome (required — be specific: scenarios, commands, screenshots for UI changes)

Risk & compatibility

@github-actions github-actions Bot added this to the Version 29.0 milestone Jul 6, 2026
@v-praghav

Copy link
Copy Markdown
Contributor Author

@microsoft-github-policy-service agree company="Microsoft"

@v-praghav v-praghav added the Bug Something isn't working label Jul 6, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adjusts the Account Schedule Excel export (Report 29) to better control blank rows/cells around the filter header area, and adds/extends test coverage to validate dimension filter content and ensure “Currency” is not duplicated in the exported sheet.

Changes:

  • Updated Report 29 (W1/NA) to insert/clear specific blank rows/cells via a new helper procedure to stabilize the export layout.
  • Added a new ERM test (W1/NA/CZ) covering export with 4 dimension filters and asserting “Currency” appears exactly once in the Excel output.
  • Added supporting test helper/assertion logic and a new label for clearer failure messaging.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 14 comments.

Show a summary per file
File Description
src/Layers/W1/BaseApp/Finance/FinancialReports/ExportAccSchedtoExcel.Report.al Replaces direct RowNo increments with a helper to insert/clear blank rows/cells during Excel export.
src/Layers/NA/BaseApp/Finance/FinancialReports/ExportAccSchedtoExcel.Report.al Same export layout changes as W1 layer to keep behavior consistent.
src/Layers/W1/Tests/ERM/ERMAccountScheduleII.Codeunit.al Adds a new export test and helper to validate dimension filters and detect duplicated “Currency” text.
src/Layers/NA/Tests/ERM/ERMAccountScheduleII.Codeunit.al Mirrors the new W1 export test and helper in the NA test layer.
src/Layers/CZ/Tests/ERM/ERMAccountScheduleII.Codeunit.al Mirrors the new W1 export test and helper in the CZ test layer.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/Layers/W1/Tests/ERM/ERMAccountScheduleII.Codeunit.al
Comment thread src/Layers/NA/Tests/ERM/ERMAccountScheduleII.Codeunit.al
Comment thread src/Layers/CZ/Tests/ERM/ERMAccountScheduleII.Codeunit.al
Comment thread src/Layers/W1/Tests/ERM/ERMAccountScheduleII.Codeunit.al Outdated
Comment thread src/Layers/NA/Tests/ERM/ERMAccountScheduleII.Codeunit.al Outdated
Comment thread src/Layers/W1/Tests/ERM/ERMAccountScheduleII.Codeunit.al
Comment thread src/Layers/NA/Tests/ERM/ERMAccountScheduleII.Codeunit.al
Comment thread src/Layers/CZ/Tests/ERM/ERMAccountScheduleII.Codeunit.al
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@v-praghav v-praghav changed the title AB#641503 [Master]-Bug 641503 Financial Reporting - Duplicate Rows in Financial Report Excel Export After Adding GL Budget Dimension Jul 7, 2026
@v-ankitgoyal v-ankitgoyal self-assigned this Jul 7, 2026
@neeleshsinghal neeleshsinghal added the Finance GitHub request for Finance area label Jul 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bug Something isn't working Finance GitHub request for Finance area

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants